import { UPDATE_PRO_INDEX } from '../actions'

const curprojectindex = (state = null, action) => {
  switch (action.type) {
    case UPDATE_PRO_INDEX:
      return action.payload
    default:
      return state
  }
}

export default curprojectindex